package com.xiaoyu.awakening.ai.search.service.impl;

import com.xiaoyu.awakening.ai.search.context.AwkSearchContext;
import com.xiaoyu.awakening.ai.search.model.AwkSearchContent;
import com.xiaoyu.awakening.ai.search.service.IAwkCallbackService;
import com.xiaoyu.awakening.ai.search.service.IAwkSearchPlanService;
import jakarta.annotation.Resource;
import lombok.AllArgsConstructor;
import org.springframework.ai.chat.client.ChatClient;
import org.springframework.stereotype.Service;

/**
 * 数据召回服务
 *
 * @author wangxiaoyu
 * @date 2024/8/1 15:28
 * @since v1.0
 */
@Service
@AllArgsConstructor
public class AwkSearchPlanServiceImpl implements IAwkSearchPlanService {
    @Resource
    private ChatClient searchPlanAgent;

    @Override
    public void doSearchPlan(AwkSearchContext<AwkSearchContent> context) {
        // 数据召回策略规划
        // 数据精排策略规划
    }
}
